8.1
HIGH CVSS 3.1
CVE-2022-23602
"Nimforum Cross-Site Scripting and Local File Inclusion Vulnerability"
Description

Nimforum is a lightweight alternative to Discourse written in Nim. In versions prior to 2.2.0 any forum user can create a new thread/post with an include referencing a file local to the host operating system. Nimforum will render the file if able. This can also be done silently by using NimForum's post "preview" endpoint. Even if NimForum is running as a non-critical user, the forum.json secrets can be stolen. Version 2.2.0 of NimForum includes patches for this vulnerability. Users are advised to upgrade as soon as is possible. There are no known workarounds for this issue.

INFO

Published Date :

Feb. 1, 2022, 11:15 a.m.

Last Modified :

May 5, 2025, 5:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-23602 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nim-lang nimforum
2 Nim-lang docutils
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2022-23602 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-23602.

URL Resource
https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e Patch Third Party Advisory
https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 Exploit Patch Third Party Advisory
https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e Patch Third Party Advisory
https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 Exploit Patch Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-23602 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

CMake Shell Perl C++ C Batchfile CSS Makefile M4 Python

Updated: 1 year, 5 months ago
34 stars 0 fork 0 watcher
Born at : Feb. 1, 2024, 11:43 a.m. This repo has been linked 71 different CVEs too.

test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC

cve-2020-

Updated: 7 months, 2 weeks ago
5 stars 3 fork 3 watcher
Born at : Jan. 21, 2022, 5:07 a.m. This repo has been linked 2650 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-23602 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-23602 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    May. 05, 2025

    Action Type Old Value New Value
    Added CWE CWE-22
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e
    Added Reference https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jul. 13, 2023

    Action Type Old Value New Value
    Removed CWE NIST CWE-287
    Added CWE NIST CWE-22
  • Initial Analysis by [email protected]

    Feb. 04, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
    Changed Reference Type https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e No Types Assigned https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e Patch, Third Party Advisory
    Changed Reference Type https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 No Types Assigned https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 Exploit, Patch, Third Party Advisory
    Added CWE NIST CWE-287
    Added CPE Configuration OR *cpe:2.3:a:nim-lang:docutils:*:*:*:*:*:nim:*:* versions up to (excluding) 1.6.2 *cpe:2.3:a:nim-lang:nimforum:*:*:*:*:*:nim:*:* versions up to (excluding) 2.2.0
  • CVE Modified by [email protected]

    Feb. 01, 2022

    Action Type Old Value New Value
    Removed CWE GitHub, Inc. CWE-200
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.39 }} 0.02%

score

0.58929

percentile